package top.v5it.logback.push.client;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * 注册{@link ErrorOutputParser}
 *
 * @author zhanpu
 * @date 2022/9/29
 * @see ErrorOutputParser
 * @see ErrorOutputsParser
 * @see ImportSelector
 */
public class ErrorOutputConfigurationSelector implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{ErrorOutputParser.class.getName(), ErrorOutputsParser.class.getName()};
    }
}
